home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
pccts
/
16bit.txt
< prev
next >
Wrap
Text File
|
1993-07-19
|
1KB
|
30 lines
WARNING: Users with 16-bit integers
PCCTS Version 1.06 will complain if you try to compile it "out of the
box" with 16 bit integers even with the appropriate preprocessor flag
PC #define'd. This is due to the fact that 1.06 is written in 1.00.
Portions of the source distributed for ANTLR and DLG are generated on
a 32-bit machine (by ANTLR itself). Therefore, the set routines
assumed 32-bits when they dumped prediction and error sets to err.c.
FIX OPTIONS:
(1) You can correct this, on your machine, by running ANTLR 1.00
on antlr.g, in the antlr directory, and dlg_p.g, in the dlg
directory. This will generate the parsers for ANTLR and DLG
using the "unsigned" size correct for you machine.
(2) Grab the binaries in the DOS_OS2.binaries subdirectory (under
pccts/1.06). We used option (1) under OS/2 to get the correct
parser C code.
(3) Anywhere you see an "unsigned" definition in err.c for both
antlr and dlg directories (everywhere if you want to be safe)
convert it to "unsigned long".
NOTE: PC must still be defined so that the set.c routines will assume
16-bit integers when you recompile.
Sorry about the inconvenience. This problem is being investigated.